Short Circuit Method for Logical AND and Logical OR